package com.dhcc.DRGsHosp.core.domain;
import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * 北京drg支付医保分组结果表
 * @author HUANGJU
 *
 */
@Entity
@Table (name = "DRGFEE_MEDINS", schema = "DRGs")
public class DrgFeeMedinsDetail extends KoalaLegacyEntity{

	private static final long serialVersionUID = 1L;
	
	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return pmainindex;
	}

	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}
	

	@Id
	@Column(name="PMAININDEX")	
	private String pmainindex;//	主键	
	@Column(name="HOSP_CODE")	
	private String hosp_code;//医院编码	
	@Column(name="HOSP_NAME")	
	private String hosp_name;//医院名称	
	@Column(name="TERMINAL_NO")	
	private String terminal_no;//终端机编号
	@Column(name="INSUR_TYPE")	
	private String insur_type;//险种	
	@Column(name="MR_NO")	
	private String mr_no;//病案号	
	@Column(name="PNAME")	
	private String pname;//姓名	
	@Column(name="PAGE")	
	private int page;//年龄	
	@Column(name="IN_DATE")	
	private Date in_date;//入院日期	
	@Column(name="OUT_DATE")	
	private Date out_date;//出院日期	
	@Column(name="PAYMENT_DATE")	
	private Date pay_date;//结算日期	
	@Column(name="DRG_GROUP_CODE")	
	private String drg_group_code;//DRG分组编码
	@Column(name="DRG_GROUP_DESC")	
	private String drg_group_desc;//DRG分组名称
	@Column(name="IN_HOSP_DAYS")	
	private int in_hosp_days;//住院天数
	@Column(name="DIAGNOSE")	
	private String diagnose;//诊断	
	@Column(name="DETAIL_DEPCODE")	
	private String detail_dep_code;//详细科室编码
	@Column(name="DETAIL_DEP")	
	private String detail_dep;//详细科室
	@Column(name="OUT_DEPCODE")	
	private String dep_code;//出院科室编码
	@Column(name="OUT_DEPDESC")	
	private String dep;//科室
	@Column(name="TOTAL_COST")	
	private double actu_settle_amount;//实际结算金额
	@Column(name="ACTU_TOTAL_DECL_AMOUNT")	
	private double actu_total_decl_amount;//实际统筹申报金额
	@Column(name="ACTU_OVER_DECL_AMOUNT")	
	private double actu_over_decl_amount;//实际大额申报金额
	@Column(name="ACTU_RETIRESUPPLE_DECL_AMOUNT")	
	private double actu_retiresupple_decl_amount;//实际退休补充申报金额
	@Column(name="ACTU_ARMYASSIST_DECL_AMOUNT")	
	private double actu_armyassist_decl_amount;//实际军残补助申报金额
	@Column(name="ACTU_UNITADD_DECL_AMOUNT")	
	private double actu_unitadd_decl_amount;//实际单位补充金额
	@Column(name="ACTU_SELFPAY1_AMOUNT")	
	private double actu_selfpay1_amount;//实际自付一金额
	@Column(name="ACTU_SELFPAY2_AMOUNT")	
	private double actu_selfpay2_amount;//实际自付二金额
	@Column(name="ACTU_SELFPAY_AMOUNT")	
	private double actu_selfpay_amount;//实际自付金额
	@Column(name="DETAIL_TOTAL_AMOUNT")	
	private double detail_total_amount;//明细总金额
	@Column(name="WEST_MED_FEE")	
	private double west_med_fee;//西药费
	@Column(name="CHIN_MED_FEE")	
	private double chin_med_fee;//中药费
	@Column(name="INSPEC_FEE")	
	private double inspec_fee;//检查费
	@Column(name="TREAT_FEE")	
	private double treat_fee;//治疗费
	@Column(name="OPER_FEE")	
	private double oper_fee;//手术费
	@Column(name="LABOR_FEE")	
	private double labor_fee;//化验费
	@Column(name="MATER_FEE")	
	private double mater_fee;//材料费
	@Column(name="OTHER_FEE")	
	private double other_fee;//其他
	@Column(name="DRG_CODE")	
	private String drg_code;//模拟DRG分组编码
	@Column(name="DRG_DESC")	
	private String drg_desc;//模拟DRG分组名称
	@Column(name="SIMU_TOTAL_DECL_AMOUNT")	
	private double simu_total_decl_amount;//模拟统筹申报金额
	@Column(name="SIMU_BIG_DECL_AMOUNT")	
	private double simu_big_decl_amount;//模拟大额申报金额
	@Column(name="SIMU_PAY_TOTAL_AMOUNT")	
	private double simu_pay_total_amount;//模拟结算总金额
	@Column(name="DRG_COST")	
	private double drg_group_pay_std;//DRG分组支付标准
	@Column(name="GROUP_OUT_AMOUNT")	
	private double group_out_amount;//组外金额
	@Column(name="SIMU_RETIRE_SUPPLE_DECL_AMOUNT")	
	private double simu_retire_assist_supple_decl_amount;//模拟退休补助申报金额
	@Column(name="SIMU_ARMY_ASSIST_DECL_AMOUNT")	
	private double simu_army_assist_decl_amount;//模拟军残补充申报金额
	@Column(name="SIMU_UNITASSIST_DECL_AMOUNT")	
	private double simu_unitassist_decl_amount;//模拟单位补充申报金额
	@Column(name="SIMU_SELFPAY1_AMOUNT")	
	private double simu_selfpay1_amount;//模拟自付一金额
	@Column(name="SIMU_SELFPAY2_AMOUNT")	
	private double simu_selfpay2_amount;//模拟自付二金额
	@Column(name="SIMU_SELFPAY_AMOUNT")	
	private double simu_slefpay_amount;//模拟自付金额
	@Column(name="PAYMENT_INDIVIDUAL")	
	private double individual_pay;//个人应付
	@Column(name="PAYMENT_FOUNDATION")	
	private double fund_pay_amount;//基金支付额
	@Column(name="PROFIT")	
	private double profit;//盈亏

	public String getPmainindex() {
		return pmainindex;
	}

	public void setPmainindex(String pmainindex) {
		this.pmainindex = pmainindex;
	}

	public String getHosp_code() {
		return hosp_code;
	}

	public void setHosp_code(String hosp_code) {
		this.hosp_code = hosp_code;
	}

	public String getHosp_name() {
		return hosp_name;
	}

	public void setHosp_name(String hosp_name) {
		this.hosp_name = hosp_name;
	}

	public String getTerminal_no() {
		return terminal_no;
	}

	public void setTerminal_no(String terminal_no) {
		this.terminal_no = terminal_no;
	}

	public String getInsur_type() {
		return insur_type;
	}

	public void setInsur_type(String insur_type) {
		this.insur_type = insur_type;
	}

	public String getMr_no() {
		return mr_no;
	}

	public void setMr_no(String mr_no) {
		this.mr_no = mr_no;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public Date getIn_date() {
		return in_date;
	}

	public void setIn_date(Date in_date) {
		this.in_date = in_date;
	}

	public Date getOut_date() {
		return out_date;
	}

	public void setOut_date(Date out_date) {
		this.out_date = out_date;
	}

	public Date getPay_date() {
		return pay_date;
	}

	public void setPay_date(Date pay_date) {
		this.pay_date = pay_date;
	}

	public String getDrg_group_code() {
		return drg_group_code;
	}

	public void setDrg_group_code(String drg_group_code) {
		this.drg_group_code = drg_group_code;
	}

	public String getDrg_group_desc() {
		return drg_group_desc;
	}

	public String getDetail_dep_code() {
		return detail_dep_code;
	}

	public void setDetail_dep_code(String detail_dep_code) {
		this.detail_dep_code = detail_dep_code;
	}

	public String getDep_code() {
		return dep_code;
	}

	public void setDep_code(String dep_code) {
		this.dep_code = dep_code;
	}

	public double getProfit() {
		return profit;
	}

	public void setProfit(double profit) {
		this.profit = profit;
	}

	public void setDrg_group_desc(String drg_group_desc) {
		this.drg_group_desc = drg_group_desc;
	}

	public int getIn_hosp_days() {
		return in_hosp_days;
	}

	public void setIn_hosp_days(int in_hosp_days) {
		this.in_hosp_days = in_hosp_days;
	}

	public String getDiagnose() {
		return diagnose;
	}

	public void setDiagnose(String diagnose) {
		this.diagnose = diagnose;
	}

	public String getDetail_dep() {
		return detail_dep;
	}

	public void setDetail_dep(String detail_dep) {
		this.detail_dep = detail_dep;
	}

	public String getDep() {
		return dep;
	}

	public void setDep(String dep) {
		this.dep = dep;
	}

	public double getActu_settle_amount() {
		return actu_settle_amount;
	}

	public void setActu_settle_amount(double actu_settle_amount) {
		this.actu_settle_amount = actu_settle_amount;
	}

	public double getActu_total_decl_amount() {
		return actu_total_decl_amount;
	}

	public void setActu_total_decl_amount(double actu_total_decl_amount) {
		this.actu_total_decl_amount = actu_total_decl_amount;
	}

	public double getActu_over_decl_amount() {
		return actu_over_decl_amount;
	}

	public void setActu_over_decl_amount(double actu_over_decl_amount) {
		this.actu_over_decl_amount = actu_over_decl_amount;
	}

	public double getActu_retiresupple_decl_amount() {
		return actu_retiresupple_decl_amount;
	}

	public void setActu_retiresupple_decl_amount(double actu_retiresupple_decl_amount) {
		this.actu_retiresupple_decl_amount = actu_retiresupple_decl_amount;
	}

	public double getActu_armyassist_decl_amount() {
		return actu_armyassist_decl_amount;
	}

	public void setActu_armyassist_decl_amount(double actu_armyassist_decl_amount) {
		this.actu_armyassist_decl_amount = actu_armyassist_decl_amount;
	}

	public double getActu_unitadd_decl_amount() {
		return actu_unitadd_decl_amount;
	}

	public void setActu_unitadd_decl_amount(double actu_unitadd_decl_amount) {
		this.actu_unitadd_decl_amount = actu_unitadd_decl_amount;
	}

	public double getActu_selfpay1_amount() {
		return actu_selfpay1_amount;
	}

	public void setActu_selfpay1_amount(double actu_selfpay1_amount) {
		this.actu_selfpay1_amount = actu_selfpay1_amount;
	}

	public double getActu_selfpay2_amount() {
		return actu_selfpay2_amount;
	}

	public void setActu_selfpay2_amount(double actu_selfpay2_amount) {
		this.actu_selfpay2_amount = actu_selfpay2_amount;
	}

	public double getActu_selfpay_amount() {
		return actu_selfpay_amount;
	}

	public void setActu_selfpay_amount(double actu_selfpay_amount) {
		this.actu_selfpay_amount = actu_selfpay_amount;
	}

	public double getDetail_total_amount() {
		return detail_total_amount;
	}

	public void setDetail_total_amount(double detail_total_amount) {
		this.detail_total_amount = detail_total_amount;
	}

	public double getWest_med_fee() {
		return west_med_fee;
	}

	public void setWest_med_fee(double west_med_fee) {
		this.west_med_fee = west_med_fee;
	}

	public double getChin_med_fee() {
		return chin_med_fee;
	}

	public void setChin_med_fee(double chin_med_fee) {
		this.chin_med_fee = chin_med_fee;
	}

	public double getInspec_fee() {
		return inspec_fee;
	}

	public void setInspec_fee(double inspec_fee) {
		this.inspec_fee = inspec_fee;
	}

	public double getTreat_fee() {
		return treat_fee;
	}

	public void setTreat_fee(double treat_fee) {
		this.treat_fee = treat_fee;
	}

	public double getOper_fee() {
		return oper_fee;
	}

	public void setOper_fee(double oper_fee) {
		this.oper_fee = oper_fee;
	}

	public double getLabor_fee() {
		return labor_fee;
	}

	public void setLabor_fee(double labor_fee) {
		this.labor_fee = labor_fee;
	}

	public double getMater_fee() {
		return mater_fee;
	}

	public void setMater_fee(double mater_fee) {
		this.mater_fee = mater_fee;
	}

	public double getOther_fee() {
		return other_fee;
	}

	public void setOther_fee(double other_fee) {
		this.other_fee = other_fee;
	}

	public String getDrg_code() {
		return drg_code;
	}

	public void setDrg_code(String drg_code) {
		this.drg_code = drg_code;
	}

	public String getDrg_desc() {
		return drg_desc;
	}

	public void setDrg_desc(String drg_desc) {
		this.drg_desc = drg_desc;
	}

	public double getSimu_total_decl_amount() {
		return simu_total_decl_amount;
	}

	public void setSimu_total_decl_amount(double simu_total_decl_amount) {
		this.simu_total_decl_amount = simu_total_decl_amount;
	}

	public double getSimu_big_decl_amount() {
		return simu_big_decl_amount;
	}

	public void setSimu_big_decl_amount(double simu_big_decl_amount) {
		this.simu_big_decl_amount = simu_big_decl_amount;
	}

	public double getSimu_pay_total_amount() {
		return simu_pay_total_amount;
	}

	public void setSimu_pay_total_amount(double simu_pay_total_amount) {
		this.simu_pay_total_amount = simu_pay_total_amount;
	}

	public double getDrg_group_pay_std() {
		return drg_group_pay_std;
	}

	public void setDrg_group_pay_std(double drg_group_pay_std) {
		this.drg_group_pay_std = drg_group_pay_std;
	}

	public double getGroup_out_amount() {
		return group_out_amount;
	}

	public void setGroup_out_amount(double group_out_amount) {
		this.group_out_amount = group_out_amount;
	}

	public double getSimu_retire_assist_supple_decl_amount() {
		return simu_retire_assist_supple_decl_amount;
	}

	public void setSimu_retire_assist_supple_decl_amount(double simu_retire_assist_supple_decl_amount) {
		this.simu_retire_assist_supple_decl_amount = simu_retire_assist_supple_decl_amount;
	}

	public double getSimu_army_assist_decl_amount() {
		return simu_army_assist_decl_amount;
	}

	public void setSimu_army_assist_decl_amount(double simu_army_assist_decl_amount) {
		this.simu_army_assist_decl_amount = simu_army_assist_decl_amount;
	}

	public double getSimu_unitassist_decl_amount() {
		return simu_unitassist_decl_amount;
	}

	public void setSimu_unitassist_decl_amount(double simu_unitassist_decl_amount) {
		this.simu_unitassist_decl_amount = simu_unitassist_decl_amount;
	}

	public double getSimu_selfpay1_amount() {
		return simu_selfpay1_amount;
	}

	public void setSimu_selfpay1_amount(double simu_selfpay1_amount) {
		this.simu_selfpay1_amount = simu_selfpay1_amount;
	}

	public double getSimu_selfpay2_amount() {
		return simu_selfpay2_amount;
	}

	public void setSimu_selfpay2_amount(double simu_selfpay2_amount) {
		this.simu_selfpay2_amount = simu_selfpay2_amount;
	}

	public double getSimu_slefpay_amount() {
		return simu_slefpay_amount;
	}

	public void setSimu_slefpay_amount(double simu_slefpay_amount) {
		this.simu_slefpay_amount = simu_slefpay_amount;
	}

	public double getIndividual_pay() {
		return individual_pay;
	}

	public void setIndividual_pay(double individual_pay) {
		this.individual_pay = individual_pay;
	}

	public double getFund_pay_amount() {
		return fund_pay_amount;
	}

	public void setFund_pay_amount(double fund_pay_amount) {
		this.fund_pay_amount = fund_pay_amount;
	}

	@Override
	public String toString() {
		return "DrgFeeMedinsDetail [pmainindex=" + pmainindex + ", hosp_code=" + hosp_code + ", hosp_name=" + hosp_name
				+ ", terminal_no=" + terminal_no + ", insur_type=" + insur_type + ", mr_no=" + mr_no + ", pname="
				+ pname + ", page=" + page + ", in_date=" + in_date + ", out_date=" + out_date + ", pay_date="
				+ pay_date + ", drg_group_code=" + drg_group_code + ", drg_group_desc=" + drg_group_desc
				+ ", in_hosp_days=" + in_hosp_days + ", diagnose=" + diagnose + ", detail_dep=" + detail_dep + ", dep="
				+ dep + ", actu_settle_amount=" + actu_settle_amount + ", actu_total_decl_amount="
				+ actu_total_decl_amount + ", actu_over_decl_amount=" + actu_over_decl_amount
				+ ", actu_retiresupple_decl_amount=" + actu_retiresupple_decl_amount + ", actu_armyassist_decl_amount="
				+ actu_armyassist_decl_amount + ", actu_unitadd_decl_amount=" + actu_unitadd_decl_amount
				+ ", actu_selfpay1_amount=" + actu_selfpay1_amount + ", actu_selfpay2_amount=" + actu_selfpay2_amount
				+ ", actu_selfpay_amount=" + actu_selfpay_amount + ", detail_total_amount=" + detail_total_amount
				+ ", west_med_fee=" + west_med_fee + ", chin_med_fee=" + chin_med_fee + ", inspec_fee=" + inspec_fee
				+ ", treat_fee=" + treat_fee + ", oper_fee=" + oper_fee + ", labor_fee=" + labor_fee + ", mater_fee="
				+ mater_fee + ", other_fee=" + other_fee + ", drg_code=" + drg_code + ", drg_desc=" + drg_desc
				+ ", simu_total_decl_amount=" + simu_total_decl_amount + ", simu_big_decl_amount="
				+ simu_big_decl_amount + ", simu_pay_total_amount=" + simu_pay_total_amount + ", drg_group_pay_std="
				+ drg_group_pay_std + ", group_out_amount=" + group_out_amount
				+ ", simu_retire_assist_supple_decl_amount=" + simu_retire_assist_supple_decl_amount
				+ ", simu_army_assist_decl_amount=" + simu_army_assist_decl_amount + ", simu_unitassist_decl_amount="
				+ simu_unitassist_decl_amount + ", simu_selfpay1_amount=" + simu_selfpay1_amount
				+ ", simu_selfpay2_amount=" + simu_selfpay2_amount + ", simu_slefpay_amount=" + simu_slefpay_amount
				+ ", individual_pay=" + individual_pay + ", fund_pay_amount=" + fund_pay_amount + "]";
	}
	
	
}
